package com.yihaodian.index.solr;

import org.apache.solr.core.AbstractSolrEventListener;
import org.apache.solr.core.SolrCore;

public class CommitListener extends AbstractSolrEventListener {

	public CommitListener(SolrCore core) {
		super(core);
	}

	@Override
	public void postCommit() {
		String dataDir = core.getDataDir();
		System.out.println(dataDir);
	}

}
